package com.woniu.microownerserver.mapper;

import com.woniu.microownerserver.bean.BookInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface BookMapper {

    @Select("select * from bookinfo")
    List<BookInfo> getAllBooks();
}
